cmake_minimum_required (VERSION 3.1)
project (project_name)

# The version number
set (Hello_VERSION_MAJOR 1)
set (Hello_VERSION_MINOR 0)

#configue a header file to pass some of the CMake settings to source code
configure_file (
  "${PROJECT_SOURCE_DIR}/config.h.in"
  "${PROJECT_BINARY_DIR}/config.h"
  )

#add the binary tree to the search path for include files so that we will find config.h
include_directories("${PROJECT_BINARY_DIR}")

add_executable(project_name src_file.cpp)
